package com.edu.cuotibook.dao;

import com.edu.cuotibook.dao.mapper.ReferAnswerDao;
import com.edu.cuotibook.entity.pojo.ReferAnswer;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ReferAnswerDaoService{

    @Resource
    private ReferAnswerDao referAnswerDao;

    public int insert(ReferAnswer pojo){
        return referAnswerDao.insert(pojo);
    }

    public int insertSelective(ReferAnswer pojo){
        return referAnswerDao.insertSelective(pojo);
    }

    public int insertList(List<ReferAnswer> pojos){
        return referAnswerDao.insertList(pojos);
    }

    public int update(ReferAnswer pojo){
        return referAnswerDao.update(pojo);
    }
}
